/*
 * This source code is part of TWaver 4.0
 *
 * Serva Software PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 * Copyright 2002 - 2011 Serva Software. All rights reserved.
 */

package demo.table.person;

import java.awt.Component;

import javax.swing.AbstractCellEditor;
import javax.swing.JTable;
import javax.swing.table.TableCellEditor;

public class MultiLineEditor extends AbstractCellEditor implements TableCellEditor{
    
	MultiLineRenderer renderer = new MultiLineRenderer();
	
	public Component getTableCellEditorComponent(
			JTable table, Object value, boolean isSelected, int row, int column) {
		return renderer.getTableCellRendererComponent(table, value, true, true, row, column);
	}

	public Object getCellEditorValue() {
		return null;
	}

}